package com.mssh.login.core;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 熳殊沙华
 * @Date: 2022/08/27/9:17
 * @Description:
 */
public class ShiroConstant {
    /**
     * 常量是
     */
    public static final String YES = "YES";

    /**
     * 常量否
     */
    public static final String NO = "NO";

    /**
     * 匿名用户ID
     */
    public static final String ANON_ID = "-1";

    /**
     * 树形根节点父Id
     */
    public static final String ROOT_PARENT_ID = "-1";

    /**
     * 树形根节点Id
     */
    public static final String ROOT_ID = "1";

    /**
     * 匿名用户登录名
     */
    public static final String ANON_LOGIN_NAME = "ANONYMITY";

    /**
     * 匿名用户真实名
     */
    public static final String ANON_REAL_NAME = "匿名";


    /**
     * hash算法
     */
    public static final String HASH_ALGORITHM = "SHA-1";

    /**
     * 计算次数
     */
    public static final int HASH_INTERATIONS = 1024;
}
